package com.freemarker.vo;

import java.io.Serializable;

import com.freemarker.db.SpringUtil;

public class SamplePO implements Serializable {

	private static SamplePO samplePO = null;

	private String data;

	public static SamplePO getSamplePO() {
		if (samplePO == null) {
			samplePO = (SamplePO) SpringUtil.getObject("samplePO");
		}
		return samplePO;
	}

	public String getData() {
		return data;
	}

	public void setData(String data) {
		this.data = this.trim(data);
	}

	public String toString() {
		return "data:" + data;
	}

	public String trim(String msg) {
		return msg == null ? "" : msg.trim();
	}

}
